// 权限问题后期增加
import { get, post } from '/@/utils/http/axios'
import { BannerState } from '/@/store/modules/homePage/types'

enum URL {
  activityList = '/api/student/activity/list/', // 
  activityDetail = '/api/student/activity/detail/', // 
  activitySignUp = '/api/student/activity/join/', // 参加活动
}
/// 课程列表
const activityList = async (data) => post<any>({url :URL.activityList, data});
const activityDetail =  async (data) => post<any>({url :URL.activityDetail, data});
const activitySignUp = async (data) => post<any>({url :URL.activityDetail, data});

export { activityList, activityDetail, activitySignUp }